package org.sang.service;

import io.swagger.models.auth.In;
import org.sang.controller.form.ExamCategoryForm;
import org.sang.pojo.RespBean;
import org.sang.pojo.dto.ExamCategoryDTO;

import java.util.List;

public interface ExamCategoryService {

    RespBean<Integer> addCategory(ExamCategoryDTO examCategory);

    RespBean<Integer> editCategory(ExamCategoryDTO examCategory);

    RespBean<Integer> deleteById(Integer id);

    RespBean<List<ExamCategoryDTO>> getAllCategories();

    RespBean<List<ExamCategoryDTO>> findExamCategoriesByCondition(ExamCategoryForm form);
}
